﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    x:Name="userControl" x:Class="$YourCompany$.$safeprojectname$_Xap.Page">
	<UserControl.Resources>
		<Storyboard x:Name="AjaxAnimation"
          Storyboard.TargetName="imgLogo"
          AutoReverse="False" 
          RepeatBehavior="Forever" >
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<Border Margin="2,2,2,2" CornerRadius="12,12,12,12">
		<Border.Background>
    		<LinearGradientBrush EndPoint="0.564,0.866" StartPoint="0.211,0.298">
    			<GradientStop Color="#FF000000"/>
    			<GradientStop Color="#FF323232" Offset="1"/>
    		</LinearGradientBrush>
		</Border.Background>
	    <Grid x:Name="LayoutRoot">
	    	<Grid.RowDefinitions>
	    		<RowDefinition Height="Auto"/>
	    		<RowDefinition Height="Auto"/>
	    	</Grid.RowDefinitions>
	    	<Grid.ColumnDefinitions>
	    		<ColumnDefinition Width="Auto"/>
	    		<ColumnDefinition Width="Auto"/>
	    	</Grid.ColumnDefinitions>
	        <Image x:Name="imgLogo" Height="72" Width="72" Source="TriadPerfect72.png" Stretch="Fill" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
	        	<Image.RenderTransform>
	        		<TransformGroup>
	        			<ScaleTransform/>
	        			<SkewTransform/>
	        			<RotateTransform/>
	        			<TranslateTransform/>
	        		</TransformGroup>
	        	</Image.RenderTransform>
	        </Image>
	        <TextBlock Grid.Column="1" Text="Hello DotNetNuke, I come to offer you a new tool.." TextWrapping="Wrap" x:Name="lblMessage" OpacityMask="{x:Null}" Foreground="#FFFFFFFF" Margin="2,2,2,2" Width="200" />
	        <StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
	        	<Button Height="34" x:Name="btnHello" Click="btnHello_Click" Width="95" Content="Hello Server" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="2,2,2,2" />
	            <Button Height="34" x:Name="btnOnlineStatus" Click="btnOnlineStatus_Click" Width="95" Content="Online Status" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="2,2,2,2" />
			</StackPanel>
	    </Grid>
	</Border>
</UserControl>